package com.gdpa.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gdpa.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author zsr
 * @since 2018-12-19
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    List<SysUser> userPage(IPage page, @Param("search") String search);
    boolean resetPwd(Integer id);
    boolean modifyMessage(SysUser sysUser);
    SysUser showMessage(@Param("id") Integer id);
}
